﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace HeathCareSystem
{
    public class TaiKhoanBUS
    {
        public bool ThemTaiKhoanMoi(TaiKhoanDTO taiKhoan) 
        {
            return new TaiKhoanDAO().ThemTaiKhoanMoi(taiKhoan);
        }

        public int LayMaTaiKhoanCuoi()
        {
            return new TaiKhoanDAO().LayMaTaiKhoanCuoi();
        }

        public bool CapNhatTaiKhoan(int MaTaiKhoan, string MatKhauMoi)
        {
            return new TaiKhoanDAO().CapNhatTaiKhoan(MaTaiKhoan, MatKhauMoi);
        }
    }
}